package zy.wq.security.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import zy.wq.security.bean.SystemUser;
import zy.wq.security.bean.SystemUserQuery;



public interface SystemUserService {
	public Page<SystemUser> findUsers(Pageable page,SystemUserQuery query);
	
	public SystemUser getUserById(long id);
	
	public SystemUser getUserByName(String name);
	
	public SystemUser addUser(SystemUser user);
}
